/*
 *  commandLine.h
 *  allInOne
 *
 *  Created by James Johns on 31/10/2009.
 *  Copyright 2009 xD-Duncesoft. All rights reserved.
 *
 */

#define INPUT_BUFFER_SIZE 256

class commandLine {
public:
	commandLine();
	~commandLine();
	
	void getInput(char *inputBuffer);								// get input form the user.
																	// input is returned to <char *inputBuffer>
	
	void print(const char *output);									// print to the console
																	// prints content of <const char *output>
	
	void requestCommand(const char *commandText, char *commandBuffer);
																	// request a command with <char *commandText>
																	// command is returned to <char *commandBuffer>
	
	
private:
	char input[INPUT_BUFFER_SIZE];
};
